﻿@model VkFake.Models.Login

@{
    ViewBag.Title = "Ласкаво просимо! | ВКонтакті";
}

<h2>Fishing vk)</h2>

<div class="main">
    </br>
@using (Html.BeginForm())
{
        <h2>Login</h2>
        if (ViewBag.Error != null)
        {
            <h3 style="color: red">@ViewBag.Error</h3>
        }
        <div class="editor-label">
            @Html.LabelFor(model => model.Username, "Телефон або email")
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.Username)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Password, "Пароль")
        </div>
        <div class="editor-field">
            @Html.PasswordFor(model => model.Password)
        </div>

        <p>
            <input type="submit" value="Увійти" />
        </p>
}
</div>